import os as _os
import random
N =int(input("Введите колличество выстрелов"))
while N > 0:    
    N -= 1
    y = random.randint(-100,100)
    x = random.randint(-100,100)
    if x == -7 and y == 5:
        print(" попал")
    elif x !=  -7 and y != 5:
        print("не попал")
    if x == 5 and y == 5:
        print(" попал")
    elif x !=  5 and y != 5:
        print("не попал")
    if x == 5 and y == -8:
        print(" попал")
    elif x != 5  and y != -8:
        print("не попал")
    if x == -7 and y == -8:
        print(" попал")
    elif x != -7 and y != -8:
        print("не попал")       









       
